package com.itmuch.cloud.study.idgen.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

public interface IdGenApi {

	@RequestMapping(value = "/genIdByModule", method = RequestMethod.GET)
	public Long genIdByModule(@RequestParam(value = "module", required = true) String module);

	@RequestMapping(value = "//genId", method = RequestMethod.GET)
	public Long genId();
}
